<div class="container">
	<div class="row row-offcanvas row-offcanvas-right">
		<div class="col-xs-6 col-sm-3">
			<div class="well sidebar-nav">
				<ul class="nav">
					<li><a href="<?= WEB_PATH?>/admin/phone">Manage phone</a></li>
					<li><a href="<?= WEB_PATH?>/admin/catagory">Manage catagory</a></li>
					<li><a href="<?= WEB_PATH?>/admin/feedback">Manage feedback</a></li>
					<li><a href="<?= WEB_PATH?>/admin/banner">Manage banner</a></li>
					<li><a href="<?= WEB_PATH?>/admin/order">Manage order</a></li>
					<li><a href="<?= WEB_PATH?>/admin/customer">Manage customer</a></li>
				</ul>
			</div>
		</div>
		<!--/span-->

		<div class="col-xs-9">
			<div class="panel panel-success">
				<div class="panel-heading">
					<b>Chi tiết</b>
				</div>
				<div class="panel-body">
					<?php if ($this->errors) {?>
						<?php foreach($this->errors as $error) {?>
							<div class="alert alert-danger"><?=$error?></div>
						<?php }?>
					<?php }?>
					<?php if($this->success) {?>
						<div class="alert alert-success">Cập nhật thành công</div>
					<?php }?>
					<form action="<?=$this->action?>" method="post">
						<table class="table">
							<tr class="">
									<td>Tên hãng</td>
									<td><input type="text" name="name" class="form-control" value='<?=$this->catagory->name?>'></td>
							</tr>
						</table>
						<input type="submit" class="btn btn-success" value="Lưu">
						<a class="btn btn-success" href="<?=WEB_PATH?>/admin/catagory">Back</a>
					</form>
				</div>
			</div>
		</div>

	</div>
	<!--/row-->
	
	
	<hr>

	<footer>
		<p>&copy; Company 2013</p>
	</footer>
</div>

<!--/.container-->